Click or drag to resize

SipClientInvite Method (ContactInfo, ContactInfo, Contact, String, String)

Invites another client to media session.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse Invite(
	ContactInfo from,
	ContactInfo to,
	Contact contact,
	string body,
	string contentType
)

Parameters

from
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the initiator of the session.
to
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the recipient.
contact
Type: Independentsoft.SipContact
A string contains user's contact address. Usually the address contains user's IP address and port.
body
Type: SystemString
A string contains session description.
contentType
Type: SystemString
Content type of the body.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
See Also